package com.zyh.zhukang.productdetails.entity;

/**
 * 作者:zhuyunhao
 * 时间:2020/1/15 0015 14:20
 */
public class Sku {
    private Integer skuId;//疗程编号
    private Integer num;//商品的疗程数量
    private Double price;//该疗程下对应的商品价格
    private Integer dosage;//该疗程对应的商品用量
    private Integer productId;//关联的商品id

    public Sku() {
    }

    public Sku(Integer skuId, Integer num, Double price, Integer dosage, Integer productId) {
        this.skuId = skuId;
        this.num = num;
        this.price = price;
        this.dosage = dosage;
        this.productId = productId;
    }

    @Override
    public String toString() {
        return "Sku{" +
                "skuId=" + skuId +
                ", num=" + num +
                ", price=" + price +
                ", dosage=" + dosage +
                ", productId=" + productId +
                '}';
    }

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getDosage() {
        return dosage;
    }

    public void setDosage(Integer dosage) {
        this.dosage = dosage;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }
}
